import { lazy } from 'react'
import {RouterItem} from '../e'
export const routerChildren:RouterItem[]=[
    {
        key:"1",
        path:"/index/recomment",
        element:lazy(()=>import ('../page/content/Recomment')),
        title:"精选推荐",
        icon:"IconMenuFold"
    }
]
 const routerList:RouterItem[]= [
    {
        path: "/",
        to: "/index/recomment",
        icon:"",
        key:"0",
    },
    {
        key:"11",
        path: "/index",
     element:lazy(()=>{return import ('../page/Firstpage')}),
     title:'首页',
     icon:"",
     children:routerChildren
    }
]

export default routerList